import { Meta, ArgsTable } from '@storybook/addon-docs'
import { List, ListItem, ListItemGroup } from '@v-uik/list'
import { createTitle, COMPONENTS } from '../../docs/showroom/config'

import { ClassesDummy } from '@v-uik/list/examples'

<Meta
  title={createTitle([COMPONENTS.dataDisplay, 'List', 'API'])}
  component={List}
  parameters={{
    viewMode: 'docs',
    previewTabs: {
      canvas: { hidden: true },
    },
  }}
/>

# List API

<ArgsTable of={List} />

# ListItem API

<ArgsTable of={ListItem} />

# ListItem Classes

<ArgsTable of={ClassesDummy} />

# ListItemGroup API

<ArgsTable of={ListItemGroup} />
